<template>

  <div>

    <h1>
      ArticleList
    </h1>

    <div>
      页面传递参数为 Params ：{{this.$route.params.name}}
    </div>

    <div>
      当前用户ID：{{this.$store.state.code}}
    </div>

    <div>
      系统配置参数 baseUrl ：{{ this.$store.state.appConfig.baseUrl }}
    </div>

    <div>
      系统配置参数 appName ：{{ this.$store.state.appConfig.appName }}
    </div>

    <router-link :to="{ name: 'index' }">首页</router-link>

  </div>

</template>

<script>
export default {
  name: 'ArticleList',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  mounted () {
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped></style>
